import base from "./base"; // 导入接口域名列表
import axios from "../http"; // 导入http中创建的axios实例
import qs from "qs"; // 根据需求是否导入qs模块
const getCollege = {
    get_college_list(params) {
        return axios.post(`${base.bd}/admin/discuss/lists`, qs.stringify(params));
    },
    add_college_list(params) {
        return axios.post(`${base.bd}/admin/discuss/saveadd`, qs.stringify(params));
    },
    edit_college_list(params) {
        return axios.post(`${base.bd}/admin/discuss/saveedit`, qs.stringify(params));
    },
    del_college_list(params) {
        return axios.post(`${base.bd}/admin/discuss/del`, qs.stringify(params));
    },
    single_college_list(params) {
        return axios.post(`${base.bd}/admin/discuss/edit`, qs.stringify(params));
    },
    get_college_question(params) {
        return axios.post(`${base.bd}/admin/discuss_title/lists`, qs.stringify(params));
    },
    add_college_question(params) {
        return axios.post(`${base.bd}/admin/discuss_title/saveadd`, qs.stringify(params));
    },
    edit_college_question(params) {
        return axios.post(`${base.bd}/admin/discuss_title/saveedit`, qs.stringify(params));
    },
    del_college_question(params) {
        return axios.post(`${base.bd}/admin/discuss_title/del`, qs.stringify(params));
    },
    single_college_question(params) {
        return axios.post(`${base.bd}/admin/discuss_title/edit`, qs.stringify(params));
    },


    get_college_result(params) {
        return axios.post(`${base.bd}/admin/discuss_fraction/lists`, qs.stringify(params));
    },
    add_college_result(params) {
        return axios.post(`${base.bd}/admin/discuss_fraction/saveadd`, qs.stringify(params));
    },
    edit_college_result(params) {
        return axios.post(`${base.bd}/admin/discuss_fraction/saveedit`, qs.stringify(params));
    },
    del_college_result(params) {
        return axios.post(`${base.bd}/admin/discuss_fraction/del`, qs.stringify(params));
    },
    single_college_result(params) {
        return axios.post(`${base.bd}/admin/discuss_fraction/edit`, qs.stringify(params));
    },


    get_college_user_record(params) {
        return axios.post(`${base.bd}/admin/discuss_examination/lists`, qs.stringify(params));
    },
    add_college_user_record(params) {
        return axios.post(`${base.bd}/admin/discuss_examination/saveadd`, qs.stringify(params));
    },
    edit_college_user_record(params) {
        return axios.post(`${base.bd}/admin/discuss_examination/saveedit`, qs.stringify(params));
    },
    del_college_user_record(params) {
        return axios.post(`${base.bd}/admin/discuss_examination/del`, qs.stringify(params));
    },
    single_college_user_record(params) {
        return axios.post(`${base.bd}/admin/discuss_examination/edit`, qs.stringify(params));
    },
};
export default getCollege;
